package com.kfm.service;

import com.kfm.entity.Student;
import com.kfm.entity.StudentDTO;
import com.kfm.util.Page;

import java.util.List;

public interface IStudentService {

    List<Student> list();

    Student findById(String id);

    Page<StudentDTO> listWithTeacherNameAndClassName(String page, String size);

    int save(Student stu);

    int update(Student stu);

    int delete(String id);
}
